KnitPay\Gateways\Razorpay\Gateway B

Total Complexity 95
Dependencies 20
Dependents 1
Total lines 718
Lines of code 490
Logical lines of code 299
Comment lines 113
Methods 21
Properties 1

Methods 21

Method Rating Maintainability Complexity Lines of code
create_razorpay_subscription()
B
33 13 99
update_status()
A
45 12 40
get_output_fields_base()
A
43 7 50
output_form()
A
51 8 27
update_payment_status()
S
51 5 26
get_balance()
S
52 5 25
update_missing_payment_details()
S
54 5 22
get_amount_with_transaction_fees()
S
55 5 18
get_max_count_for_period()
S
60 5 14
get_notes()
S
51 4 27
start()
S
56 4 17
subscription_status_update()
S
58 4 16
create_razorpay_order()
S
54 3 20
get_razorpay_api()
S
60 3 13
init()
S
58 2 18
register_payment_methods()
S
58 2 16
expire_old_payment()
S
72 3 5
get_output_fields()
S
62 2 12
create_refund()
S
56 1 18
get_payment_methods()
S
80 1 3
set_order_id_meta()
S
75 1 4